← Back to issue list

when building a classic snap, plugins cannot access value of LDPATH

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1670209
Type
issue
State
open
Author
~mwhudson
Labels
Created
2017-03-05 22:50:01.555577+00:00
Updated
2017-03-10 01:05:16.186052+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

My snap uses a custom plugin to build: https://git.launchpad.net/~mwhudson/+git/gosnap/tree/snap/plugins/x_gobuild.py?h=go1.8. In that code, I want to access the flags that need to be passed to the linker to make classic snaps link against the core snap rather than the usual path (-Wl,-z,nodefib, -Wl,-rpath,xxx, etc). Currently, as I read things, it can't (well not without very silly hacks).

Evaluation history

No evaluation history available.